<% @page_title = "多背一公斤 | #{@keywords} 附近的活动" %>

<% content_for(:sidebar) do -%>
	<%= render :partial => 'searchers/local' %>
<% end -%>

<h3 class="nt">搜索结果 <%= title_suffix %></h3>
<% if @events && @events.empty? %>
	没有符合关键词的结果，请换个关键词继续搜索
<% elsif @events %>
<%= will_paginate @events, :params =>{ :keywords => @keywords } %>
<div>
	<%= render :partial => 'events/event', :collection => @events %>	
</div>
<%= will_paginate @events, :params =>{ :keywords => @keywords } %>
<% else %>
<p>搜索关键词不能为空</p>
<% end %>